package com.xiaozhengkeji.xiaozhengblog.base.mapper;

import com.xiaozhengkeji.xiaozhengblog.base.entitys.SystemUserEntity;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SystemUserEntityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SystemUserEntity record);

    int insertSelective(SystemUserEntity record);

    SystemUserEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SystemUserEntity record);

    int updateByPrimaryKey(SystemUserEntity record);

    List<SystemUserEntity> queryByUsername(@Param("username") String username);

    List<SystemUserEntity> queryByEmail(@Param("email") String email);

    List<SystemUserEntity> queryByAll(SystemUserEntity systemUserEntity);
}